go off the rails

Translations
dérailler
Definitions
To behave in an uncontrolled or unexpected way, often resulting in chaos or problems; to deviate from what is considered normal, acceptable, or planned.